html, body, #all {height: 90%;}

body {
	background: #E1E1E1 url("../images/bg.gif") repeat-x;
	margin: 0;
	padding: 0;
	text-align:center;
	font-size: 10pt;
	font-family: Arial;
}

body > #all {height:auto; min-height:90%;}
a img {border:0;}
h1, h2 {font-family: Arial;}
h2 {padding:0;font-size:18px;}
h3 {margin-top:0;}
	
#all, #withoutHeaderMenu {
	margin: 0 auto;
	margin: 0 30px 30px;
	padding: 5px;
	text-align: left;
}
#withoutHeaderMenu {margin-top:38px;}

#top {margin:9px 0 13px; width:100%; display:table;}
#top ul {padding:0; margin:0 10px 0 0; float:right;}
#top ul li {margin-left: 10px; color:#333; font-size:12px; display:inline;}
#top ul li a {color:#828282}
#top ul li a:hover {color:#333}

#header {
	border-left: 1px #CECECE solid;
	border-right: 1px #CECECE solid;
	background: #0269AB;
}

#content {
	background: #fff;
	text-align:left;
	border-left: 1px #CECECE solid;
	border-right: 1px #CECECE solid;
	padding-bottom: 40px;
}

#text {
	min-height: 400px;
	overflow: auto;
	font-family: Arial, Helvetica, sans-serif;
	padding: 10px 15px;
}

#footer {
	background: #FFF;
	font-size: 8pt;
	text-align: center;
	padding: 5px 0 5px 10px;
	border: 1px #CECECE solid;
	position: relative;
	margin-top: -40px; 
	height: 40px;
}

#out {margin:0 auto;width:290px;}
div#login {
	margin-top:-85px;
	position:absolute;
	top:50%;
	width:290px;
	height:120px;
	background-color:#f4f4f4;
	border-top:2px solid #e4e4e4;
	border-bottom:2px solid #e4e4e4;
	padding:10px;
}

.right {
	text-align: right;
	float: right;
}

.left {
	text-align: left;
	float: left;
}

.h1 {
	color: #FFF;
	padding: 30px;
	padding-left: 22px;
	font-size: 24px;
	font-weight: bold;
	text-shadow: #004571 1px 1px 3px;
}

#menu {padding-left:17px; background-color: #0269AB;}

#sub {
	padding-left: 14px;
	font: 8pt Arial, Helvetica, sans-serif;
	font-weight: 700;
	background: #F0F9FF;
}

.submenu {margin:0 auto; padding:0; height:30px; width:100%; display:block;}
.submenu li {padding:0; margin:0; display:inline;}
.submenu li.separator {color: #999;}
.submenu li a {color: #517F94; text-decoration: none; line-height:30px; padding:0 10px;}
.submenu li a:hover {color: #094773;}
.submenu li a.active {color:#094773;}

.menu {margin:0 auto; padding:0; height:30px; width:100%; display:block; background:url('../images/topMenuImages2.png') repeat-x;}
.menu li {padding:0; margin:0; list-style:none; display:inline;}
.menu li a {float:left; padding-left:15px; display:block; margin-left:-2px; color:rgb(255,255,255); text-decoration:none; font:12px Arial, Helvetica, sans-serif; font-weight: 700; cursor:pointer; background:url('../images/topMenuImages2.png') 0px -34px no-repeat;}
.menu li a span {line-height:30px; float:left; display:block; padding-right:15px; margin-right:-2px; background:url('../images/topMenuImages2.png') 100% -34px no-repeat; text-shadow: #1A3C6F 1px 1px 1px;}
.menu li a:hover {background-position:0px -64px; color:rgb(255,255,255);}
.menu li a:hover span {background-position:100% -64px;}
.menu li a.active, .menu li a.active:hover {line-height:30px; font:12px Arial, Helvetica, sans-serif; font-weight: 700; background:url('../images/topMenuImages2.png') 0px -94px no-repeat; color:rgb(1,59,94);}
.menu li a.active span, .menu li a.active:hover span {background:url('../images/topMenuImages2.png') 100% -94px no-repeat; text-shadow: none;}

div.actions {visibility:hidden; float:left;}
.selects {width:430px;}
.selects a {padding:0 5px}
.selects .from {float:left;}
.selects .to {float:right;}
.selects select {width:200px; height:100px;}

.createBlank {
	background: #E1FFD1;
	border-bottom: 2px solid #C5F8AC;
	border-top: 2px solid #C5F8AC;
	margin: 15px 0px;
	padding: 5px 15px 18px;
	text-align: center;
}

.createBlank p {font-size:12px; color:#7D8977;}
.createBlank h1 {font-size:22px;}
.createBlank h1 a {color:#499524;}

div.submit {padding:7px 10px 0 0;float:right;}

div.buttons {padding:10px 9px;}
/* TABLES */

table {
    border: 0;
    width: 100%;
    border-collapse: collapse;
}
tr {border: 0;}
tr img {float:left;}
tr.first {border:0;}
tr.odd, tr.even {border-top:1 px solid #eee;}
tr.odd:hover, tr.even:hover {background:#feffe0;}
td {padding:6px 10px;}
td, th {
    font: 12px verdana, arial, helvetica, sans-serif;
    line-height: 12px;
    text-align: left;
    vertical-align: middle;
}
td.name {width:120px;}
td.list ul {margin:0; padding-left:17px;}
th.actions, th.year, th.type {width:90px;}
th.leftth {border-top-left-radius: 6px 6px;}
th.rightth {border-top-right-radius: 6px 6px;}
th {
	border-bottom: 1px solid #C0DAE7;
    background-color: #d6ecfa;
    font-size: 11px;
    font-weight: bold;
    line-height: 17px;
    padding: 5px 10px;
    text-shadow: white 1px 1px 0px;
    color: #6194B8;
}
th a:link, th a:visited, th a:hover {
	color: #6194B8;
    display: block;
    text-decoration: none;
    width: 100%;
}
th.asc a, th.desc a {
    background-position: right;
    background-repeat: no-repeat;
}
th.asc a {background-image: url(../images/skin/sorted_asc.gif);}
th.desc a {background-image: url(../images/skin/sorted_desc.gif);}

/*Padrão do Grails */

.spinner {
    padding: 5px;
    position: absolute;
    right: 0;
}

a:link, a:visited, a:hover {
    color: #666;
    font-weight: bold;
    text-decoration: none;
}

h1 {
    color: #0269AB;
    font-weight: normal;
    font-size: 18px;
    margin: .8em 0 .3em 0;
}
input[type="text"], input[type="password"] {width:200px;}
.min input {width:55px;}
.medium input {width:145px;}
input, select, textarea {
    background-color: #fcfcfc;
    border: 1px solid #ccc;
    font: 12px verdana, arial, helvetica, sans-serif;
    margin: 2px 0;
    padding: 4px 4px;
    output: none;
    border-radius: 3px;
}
select {
   padding: 2px 2px 2px 0;
}
textarea {
	width: 350px;
	height: 125px;
	vertical-align: top;
}

input:focus, select:focus, textarea:focus {}

.message {
    background: #f3f8fc url(../images/skin/information.png) 8px 50% no-repeat;
    border: 1px solid #b2d1ff;
    color: #006dba;
    margin: 10px 0 5px 0;
    padding: 5px 5px 5px 30px
}

div.errors {
    background: #fff3f3;
    border: 1px solid red;
    color: #cc0000;
    margin: 10px 0 5px 0;
    padding: 5px 0 5px 0;
}
div.errors ul {
    list-style: none;
    padding: 0;
}
div.errors li {
	background: url(../images/skin/exclamation.png) 8px 0% no-repeat;
    line-height: 16px;
    padding-left: 30px;
}

td.errors select {border: 1px solid red;}
td.errors input {border: 1px solid red;}

/* PAGINATION */

.paginateButtons {
    color: #004571;
    font-size: 11px;
    overflow: hidden;
    padding: 10px 3px;
}
.paginateButtons a {
    background: #fff;
    border: 1px solid #ccc;
    border-color: #ccc #aaa #aaa #ccc;
    color: #004571;
    margin: 0 3px;
    padding: 2px 6px;
}
.paginateButtons span {
    padding: 2px 3px;
}
